<?php abstract class load extends RRDTemplate implements iRRDTemplate {
	protected static $CreateStr = '--step 60 DS:1min:GAUGE:300:0:%max% DS:5min:GAUGE:300:0:%max% DS:15min:GAUGE:300:0:%max% RRA:AVERAGE:0.5:1:5000 RRA:AVERAGE:0.5:5:5000 RRA:AVERAGE:0.5:60:5000';
	public static function Feed ($Time, $Host, $Data) {
		list ($Max, $Data) = explode (',', $Data, 2);
		$Filename = parent::Filename ($Host, __CLASS__);
		parent::Create ($Filename, str_replace ('%max%', $Max, self::$CreateStr));
		parent::Feed ($Filename, $Time, $Data);
	}
} ?>